package com.example.tally.db;

/**
 * @author:0.2℃
 * @date： 2021-07-14 02:43
 * @Description ：表示收入或者支出具体类型的类
 */

public class TypeBean {
    /**
     * 类型名称
     */
    int id;
    String typeName;
    // 未被选中的图片ID
    int imageId;
    // 被选中的图片ID
    int sImageId;
    // 收入-1 ， 支出-0
    int kind;

    public int getsImageId() {
        return sImageId;
    }

    public void setsImageId(int sImageId) {
        this.sImageId = sImageId;
    }

    public TypeBean(int id, String typeName, int imageId, int sImageId , int kind) {
        this.id = id;
        this.typeName = typeName;
        this.imageId = imageId;
        this.sImageId = sImageId;
        this.kind = kind;
    }

    public TypeBean() {
    }

    public int getId() {
        return id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getImageId() {
        return imageId;
    }

    public void setImageId(int imageId) {
        this.imageId = imageId;
    }

    public int getKind() {
        return kind;
    }

    public void setKind(int kind) {
        this.kind = kind;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "TypeBean,"+ id +
                "," + typeName +
                "," + imageId +
                "," + sImageId +
                "," + kind;
    }
}
